package com.zh.familyInfo.dao;

import com.zh.familyInfo.domain.FamilyRelationUserDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 家庭老人表及用户登录表中间表
 * @author 马广洋
 * @email 1992lcg@163.com
 * @date 2019-06-05 08:50:04
 */
@Mapper
public interface FamilyRelationUserDao {

	FamilyRelationUserDO get(String id);
	
	List<FamilyRelationUserDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(FamilyRelationUserDO familyRelationUser);
	
	int update(FamilyRelationUserDO familyRelationUser);
	
	int remove(String id);
	
	int batchRemove(String[] ids);

	FamilyRelationUserDO getFamilyRelationByFamilyId(String userId);
}
